﻿#ifndef _VECTOR_FEATURECLASS_STATISTICIAN_H_H_
#define _VECTOR_FEATURECLASS_STATISTICIAN_H_H_

#include "udatabase/dll_cfg.h"
#include "udatabase/interface/itableproxy.h"
#include "udatabase/interface/ifields.h"


namespace FD{
	namespace Utility{
		namespace DB{

class CVectorFeatureClassOperator;

class CTableProxy : public FD::Utility::DB::Interface::ITableProxy
{
public:
	friend class CVectorFeatureClass;
public:
	virtual ~CTableProxy();
	virtual FD::Kernel::Variant max(const String &expression);
	virtual FD::Kernel::Variant min(const String &expression);
	
	virtual FD::Kernel::VariantArray column(const String &fieldName,bool isUnique=false);
	//VariantArray row(uint32 id);
private:
	//CTableProxy(FD::GraphicEngine::NameValuePairList *pList);
protected:
	CTableProxy(CVectorFeatureClassOperator* opr);

private:
	CVectorFeatureClassOperator* m_opr;
	FD::Utility::DB::Interface::IFields*					 m_pFieldSet;
};








}}} // End of Namespace

#endif //_VECTOR_FEATURECLASS_STATISTICIAN_H_H_

